﻿namespace PluginRegistrationTool
{
    /// <summary>
    /// The XRM Server Details Class.
    /// </summary>
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Xrm")]
    public class XrmServerDetails
    {
        /// <summary>
        /// The Server Address String Property, e.g. localhost:5555.
        /// </summary>
        private string _serverAddress;

        /// <summary>
        /// The Server Address String Property, e.g. localhost:5555.
        /// </summary>
        public string ServerAddress
        {
            get
            {
                return _serverAddress;
            }
            set
            {
                _serverAddress = value;
            }
        }

        /// <summary>
        /// The Organization Name String Property.
        /// </summary>
        private string _organizationName;

        /// <summary>
        /// The Organization Name String Property.
        /// </summary>
        public string OrganizationName
        {
            get
            {
                return _organizationName;
            }
            set
            {
                _organizationName = value;
            }
        }

        /// <summary>
        /// XRM Credentials Property.
        /// </summary>
        private XrmCredentials _xrmCredentials;

        /// <summary>
        /// XRM Credentials Property.
        /// </summary>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Xrm")]
        public XrmCredentials XrmCredentials
        {
            get
            {
                return _xrmCredentials;
            }
            set
            {
                _xrmCredentials = value;
            }
        }
    }
}
